//
//  ExtensionCollectionViewCell.m
//  19-Homework
//
//  Created by dllo on 16/8/10.
//  Copyright © 2016年 ZHW. All rights reserved.
//

#import "ExtensionCollectionViewCell.h"
#import "ExtensionList.h"
#import "UIImageView+WebCache.h"
@interface ExtensionCollectionViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *carImageView;
@property (weak, nonatomic) IBOutlet UILabel *carNameLabel;

@end
@implementation ExtensionCollectionViewCell

- (void)setExtensionList:(ExtensionList *)extensionList {
    _extensionList = extensionList;
    _carNameLabel.text = extensionList.seriesname;
    [_carImageView sd_setImageWithURL:[NSURL URLWithString:extensionList.img]];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

@end
